package com.ruoyi.project.digital.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用支付信息对象 t_wechat_payinfo
 *
 * @author ruoyi
 * @date 2020-12-17
 */
public class Payinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 申请ID */
    @Excel(name = "申请ID")
    private Long applyId;

    /** 是否支付 0 未支付 1 已支付 */
    @Excel(name = "是否支付 0 未支付 1 已支付")
    private Integer isPay;

    /** 支付流水号 */
    @Excel(name = "支付流水号")
    private String payNo;

    /** 支付时间 */
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 系统流水号 */
    @Excel(name = "系统流水号")
    private String serialNo;

    /** 打印数量 */
    @Excel(name = "打印数量")
    private Integer printNum;

    /** 打印费用 */
    @Excel(name = "打印费用")
    private BigDecimal printAmount;

    /** 快递费用 */
    @Excel(name = "快递费用")
    private BigDecimal freight;

    /** 总费用 */
    @Excel(name = "总费用")
    private BigDecimal totalAmount;

    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setApplyId(Long applyId)
    {
        this.applyId = applyId;
    }

    public Long getApplyId()
    {
        return applyId;
    }
    public void setIsPay(Integer isPay)
    {
        this.isPay = isPay;
    }

    public Integer getIsPay()
    {
        return isPay;
    }
    public void setPayNo(String payNo)
    {
        this.payNo = payNo;
    }

    public String getPayNo()
    {
        return payNo;
    }
    public void setPayTime(Date payTime)
    {
        this.payTime = payTime;
    }

    public Date getPayTime()
    {
        return payTime;
    }
    public void setSerialNo(String serialNo)
    {
        this.serialNo = serialNo;
    }

    public String getSerialNo()
    {
        return serialNo;
    }
    public void setPrintNum(Integer printNum)
    {
        this.printNum = printNum;
    }

    public Integer getPrintNum()
    {
        return printNum;
    }
    public void setPrintAmount(BigDecimal printAmount)
    {
        this.printAmount = printAmount;
    }

    public BigDecimal getPrintAmount()
    {
        return printAmount;
    }
    public void setFreight(BigDecimal freight)
    {
        this.freight = freight;
    }

    public BigDecimal getFreight()
    {
        return freight;
    }
    public void setTotalAmount(BigDecimal totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount()
    {
        return totalAmount;
    }
    public void setUpdateId(Long updateId)
    {
        this.updateId = updateId;
    }

    public Long getUpdateId()
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applyId", getApplyId())
            .append("isPay", getIsPay())
            .append("payNo", getPayNo())
            .append("payTime", getPayTime())
            .append("serialNo", getSerialNo())
            .append("printNum", getPrintNum())
            .append("printAmount", getPrintAmount())
            .append("freight", getFreight())
            .append("totalAmount", getTotalAmount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .toString();
    }
}
